<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>上传文件</title>
</head>
<body>

<form action="upload" method="post" enctype="multipart/form-data">
    图片名：<input type="text" name="imgName"/><br>
    图片上传：<input type="file" name="img"/><br>
    <input type="submit" value="提交">
</form>

</body>
</html>